.class public Lcom/estrongs/android/pop/esclasses/h;
.super Landroid/view/LayoutInflater;
.source "ESLayoutInflater.java"


# instance fields
.field private a:Landroid/view/LayoutInflater;


# direct methods
.method public constructor <init>(Landroid/view/LayoutInflater;Landroid/content/Context;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1, p2}, Landroid/view/LayoutInflater;-><init>(Landroid/view/LayoutInflater;Landroid/content/Context;)V

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/h;->a:Landroid/view/LayoutInflater;

    return-void
.end method

.method public static from(Landroid/content/Context;)Landroid/view/LayoutInflater;
    .locals 2

    .line 1
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    .line 2
    instance-of v1, v0, Lcom/estrongs/android/pop/esclasses/h;

    if-eqz v1, :cond_0

    return-object v0

    .line 3
    :cond_0
    new-instance v1, Lcom/estrongs/android/pop/esclasses/h;

    invoke-direct {v1, v0, p0}, Lcom/estrongs/android/pop/esclasses/h;-><init>(Landroid/view/LayoutInflater;Landroid/content/Context;)V

    return-object v1
.end method


# virtual methods
.method public cloneInContext(Landroid/content/Context;)Landroid/view/LayoutInflater;
    .locals 2

    .line 1
    new-instance v0, Lcom/estrongs/android/pop/esclasses/h;

    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/h;->a:Landroid/view/LayoutInflater;

    invoke-virtual {v1, p1}, Landroid/view/LayoutInflater;->cloneInContext(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    invoke-direct {v0, v1, p1}, Lcom/estrongs/android/pop/esclasses/h;-><init>(Landroid/view/LayoutInflater;Landroid/content/Context;)V

    return-object v0
.end method

.method public inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/h;->a:Landroid/view/LayoutInflater;

    invoke-virtual {v0, p1, p2, p3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p2

    .line 2
    invoke-virtual {p0}, Landroid/view/LayoutInflater;->getContext()Landroid/content/Context;

    move-result-object p3

    instance-of p3, p3, Les/tp;

    if-eqz p3, :cond_0

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object p3

    invoke-virtual {p3}, Lcom/estrongs/android/ui/theme/b;->o()Z

    move-result p3

    if-nez p3, :cond_0

    .line 3
    new-instance p3, Lcom/estrongs/android/pop/esclasses/i;

    invoke-virtual {p0}, Landroid/view/LayoutInflater;->getContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Les/tp;

    invoke-direct {p3, v0}, Lcom/estrongs/android/pop/esclasses/i;-><init>(Les/tp;)V

    invoke-virtual {p3, p1, p2}, Lcom/estrongs/android/pop/esclasses/i;->a(ILandroid/view/View;)V

    :cond_0
    return-object p2
.end method
